public enum TokenType {

    // keyword
    Int(1),
    Float(2),
    Char(3),
    Void(4),
    If(5),
    Else(6),
    Switch(7),
    Case(8),
    For(9),
    While(10),
    Do(11),
    Break(12),
    Return(13),
    Null(14),
    True(50),
    False(51),
    Main(52),

    Identifier(100),
    Int_Literal(200),
    Float_Literal(201),
    Char_Literal(202),
    Operator(203),
    Separator(204),
    Error(1000);


    private int speciesCode;

    TokenType(int speciesCode) {
        this.speciesCode = speciesCode;
    }

    public int getSpeciesCode() {
        return speciesCode;
    }

    public void setSpeciesCode(int speciesCode) {
        this.speciesCode = speciesCode;
    }
}
